All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class javax.media.j3d.DepthComponentInt

java.lang.Object
   |
   +----javax.media.j3d.SceneGraphObject
           |
           +----javax.media.j3d.NodeComponent
                   |
                   +----javax.media.j3d.DepthComponent
                           |
                           +----javax.media.j3d.DepthComponentInt

public class DepthComponentInt
extends DepthComponent
A 2D array of depth (Z) values in integer format. Values are in the range [0,(2**N)-1], where N is the pixel depth of the Z buffer.


Constructor Index

 o DepthComponentInt(int, int)
Constructs a new integer depth (z-buffer) component object with the specified width and height.

Method Index

 o getDepthData(int[])
Copies the depth data from this object to the specified array.
 o setDepthData(int[])
Copies the specified depth data to this object.

Constructors

 o DepthComponentInt
 public DepthComponentInt(int width,
                          int height)
Constructs a new integer depth (z-buffer) component object with the specified width and height.

Parameters:
width - the width of the array of depth values
height - the height of the array of depth values

Methods

 o setDepthData
 public void setDepthData(int depthData[])
Copies the specified depth data to this object.

Parameters:
depthData - array of ints containing the depth data
 o getDepthData
 public void getDepthData(int depthData[])
Copies the depth data from this object to the specified array.

Parameters:
depthData - array of ints that will receive a copy of the depth data

All Packages  Class Hierarchy  This Package  Previous  Next  Index